<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/12/15
 * Time: 22:19
 */

namespace App\Library\form_builder\src\traits;
use App\Library\form_builder\src\components\Textarea;

trait TextareaTrait
{
    /**
     * textarea 类型输入框
     *
     * @param        $field
     * @param        $title
     * @param string $value
     * @return Input
     */
    public static function textarea($title, $field, $value = '')
    {
        return new Textarea($title,$field, $value);
    }
}